﻿using Microsoft.Extensions.DependencyInjection;


namespace Magic.Rmq;

public static class RmqServiceCollectionExtensions
{
    public static IServiceCollection AddRmq(this IServiceCollection services, string connectionString)
    {
        RmqOptions.ConnectionString = connectionString;
        return services;
    }
}
